package com.hzlj.position.locate.common.dto.abnGathering;

import com.fz.common.base.enums.db.LikeType;
import com.fz.common.base.enums.db.QueryField;
import com.fz.common.base.enums.db.RangeType;
import com.hzlj.position.locate.common.model.AbnGathering;
import com.hzlj.position.locate.common.model.AbnGatheringJzry;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 定位分析-聚众告警表(AbnGathering)查询参数DTO
 *
 * @author lifh
 * @date 2023-03-28 10:32:05
 */
@Data
@ToString
@Accessors(chain = true)
public class AbnGatheringQueryParamDTO {
    /**
     * 分析开始时间
     */
    @QueryField(model = AbnGathering.class, range = RangeType.GTE, value = "startTime")
    private Date startTime;
    /**
     * 分析结束时间
     */
    @QueryField(model = AbnGathering.class, range = RangeType.LTE, value = "endTime")
    private Date endTime;
    /**
     * 处理状态,dict-HANDLE_STATUS
     */
    @QueryField(model = AbnGathering.class)
    private String handleStatus;

    /**
     * 机构ID全路径
     */
    @QueryField(model = AbnGatheringJzry.class,like = LikeType.RIGHT)
    private String jgCode;
    /**
     * 矫正人员名称
     */
    @QueryField(model = AbnGatheringJzry.class,like = LikeType.ALL)
    private String xm;
    /**
     * 是否有同案犯
     */
    @QueryField(model = AbnGathering.class)
    private Boolean taf;
}
